From ee324ed5c456fcc35d1fa8746fac920f74e04f5a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 19 Nov 2008 19:13:22 +0000 Subject: [PATCH] x86: Fix build for some versions of gcc. Signed-off-by: Keir Fraser --- xen/arch/x86/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index f895ece5e7..037811fde8 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -595,7 +595,7 @@ static void init_platform_timer(void) &plt_cyclone, &plt_hpet, &plt_pmtimer, &plt_pit }; - struct platform_timesource *pts; + struct platform_timesource *pts = NULL; int i, rc = -1; if ( opt_clocksource[0] != '\0' ) -- 2.30.2